<!DOCTYPE html>
<style>
    div { float: right; }
</style>
<p>There should be a space between the two Xs below.</p>
<span>X<div></div> <span></span>X</span>
